﻿using Microsoft.AspNetCore.Mvc;
using MyConsume.AL;
using ZhCun.WebCommon;
using ZhCun.WebCommon.WebPage;

namespace MyConsume.Web.Controllers
{
    [NonRoleVerify]
    public class HomeController : PageAuthorizeController<ALHome>
    {        
        public IActionResult Index()
        {
            var vm = ALObj.GetHomeModel();
            return View(vm);
        }

        public IActionResult Console()
        {
            return View();
        }
    }
}